package com.threeox.httplibrary.request;

import java.util.Map;

import okhttp3.Request;
import okhttp3.RequestBody;

/**
 *
 * @ClassName: GetRequest
 *
 * @Description: Todo(Get请求)
 *
 * @author 赵屈犇
 *
 * @date 创建时间:2016/12/21 11:18
 *
 * @version 1.0
 */
public class GetRequest extends OkHttpRequest {

    public GetRequest(String url, Object tag, Map<String, Object> params, Map<String, Object> headers,int id) {
        super(url, tag, params, headers,id);
    }

    @Override
    protected RequestBody buildRequestBody() {
        return null;
    }

    @Override
    protected Request buildRequest(RequestBody requestBody) {
        return builder.get().build();
    }

}
